

<template>

  <p class="read-the-docs">{{ store.count }}</p>
  <button @click="addCount"></button>
</template>

<script setup lang="ts">
  import { useCounterStore } from '../stores/index'
  let store = useCounterStore()

  function addCount() {
    store.count ++
  }
</script>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
